<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
    <%--显示在网页标签页上文字--%>
    <title>登录界面</title>

</head>
<body>

<center>
    <%--提示信息--%>
    <span id="message">${msg}</span>
        <span id="message">${username}</span>
        <span id="message">${password}</span>


    <form class="form-horizontal" action="${pageContext.request.contextPath}/login.action" method="post" >
        账号：<input id="username" type="text" name="username"/>
    <br/>
        密码：<input id="password" type="password" name="password"/>
        <br/>

        <input type="submit" value="登录"/>


    </form>

    <form action="${pageContext.request.contextPath}/register" >
            <input type="submit" value="注册">
    </form>

</center>
</body>
</html>